package com.qf.agro.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.agro.pojo.Company;

/**
 * ProjectName: smart-agriculture-parent
 * ClassName: CompanyService
 * Author: chenyaosen
 * Date: 2023/6/29 21:32
 * Description:
 */
public interface CompanyService {

    /**
     * 分页查询企业列表
     * @param pageNum
     * @param pageSize
     * @param companyName
     * @return
     */
    Page<Company> findPage(Integer pageNum,Integer pageSize,String companyName);

    List<OptionVo> findOptions();

    void save(Company company);

    void updateState(Long id);

    void update(Company company);
}
